package net.hn.hnms.biz.api.safety.location.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 智呈物联 pan'sx
 * 2022/9/1 9:47
 * 1.0 version
 */
@ApiModel("人员求救列表对象")
@Data
public class AlarmVo {
    @ApiModelProperty("人员编号")
    private String staffCode;
    @ApiModelProperty("人员名称")
    private String staffName;
    @ApiModelProperty("报警类型")
    private String alarmType;
    @ApiModelProperty("区域编码")
    private String areaCode;
    @ApiModelProperty("区域名称")
    private String areaName;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "Asia/Shanghai"
    )
    @ApiModelProperty("报警开始时间")
    private Date beginTime;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "Asia/Shanghai"
    )
    @ApiModelProperty("报警结束时间")
    private Date endTime;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "Asia/Shanghai"
    )
    @ApiModelProperty("入井时间")
    private Date entryTime;
    @ApiModelProperty("站点编码")
    private String stationCode;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "Asia/Shanghai"
    )
    @ApiModelProperty("进入区域时间")
    private Date inAreaTime;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "Asia/Shanghai"
    )
    @ApiModelProperty("进入站点时间")
    private Date inStationTime;
    @ApiModelProperty("定员数")
    private Integer specifyNumber;
    @ApiModelProperty("当前人数")
    private Integer currentNumber;
    @ApiModelProperty("区域人员集合")
    private String areaStaff;
}
